Connecting Objects

Making Outlet Connections

An outlet connections lets two objects can communicate with each other by sending messages. The object that sends messages contains a reference to the other object in an instance variable.

To make an outlet connection:

Make sure you connected the correct object and that you didn't, for example, connect to a form when you meant to connect to an item within the form.

Making Action Connections

Action connections let an object in your interface can send action messages to another object. Action messages are sent whenever a user presses a button, selects a menu item, or manipulate an control object on your interface in any other way.

To make an action connection

Make sure you connected the correct object and that you didn't, for example, connect to a form when you meant to connect to an item within the form.

Troubleshooting

If the Connect button doesn't become active, you probably have connections locked. See Locking Connections.


© 1999 Apple Computer, Inc.